from django.urls import path,include
from apps.articles.views import index
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    path('',index,name='index'),
    path('cms/',include('apps.cms.urls')),
    path('articles/',include('apps.articles.urls')),
    path('auth/',include('apps.linlinauth.urls')),
    path('write/',include('apps.write.urls')),
    path('ueditor/',include('apps.ueditor.urls'))
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)